import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server: {
    hmr: {
      overlay: true
    },
    port: 3060,
    open: true,
    host: true,
    proxy: {
      '/api': 'http://localhost:8081'
    }
  }
});
